package com.mybatis.mp.scenery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 可选项list-详情-最新版本
 * </p>
 *
 * @author baiye
 * @since 2020-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TActivityOptionVersion对象", description="可选项list-详情-最新版本")
public class TActivityOptionVersion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "可选项 ID")
    private Integer optionId;

    @ApiModelProperty(value = "玩乐ID 主键ID")
    private Integer activityId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "可选项类型")
    private Integer categoryId;

    @ApiModelProperty(value = "可选项类型名称")
    private String categoryName;

    @ApiModelProperty(value = "计价单位/人")
    private String chargeUnit;

    @ApiModelProperty(value = "单位份数")
    private Integer unitQuantity;

    @ApiModelProperty(value = "是否有物品配送 0无 1有")
    private Boolean isGoodsToDelivery;

    @ApiModelProperty(value = "配送类型 0-无配送；1-送票；2-自取；4-EMS")
    private Boolean shippingType;

    @ApiModelProperty(value = "支付方式: 1.现付，2.预付")
    private Boolean payMode;

    @ApiModelProperty(value = "兑换方式: 1.有效证件，2.确认单，3.短信，4.翼码二维码，5.实物票，6.陪同签单")
    private Boolean exchangeMode;

    @ApiModelProperty(value = "可预订最小份数")
    private Integer minQuantity;

    @ApiModelProperty(value = "可预订最大份数")
    private Integer maxQuantity;

    @ApiModelProperty(value = "是否国内 1是 0否")
    private Boolean isDomestic;

    @ApiModelProperty(value = "提前预定时间 天")
    private String advanceBookingDays;

    @ApiModelProperty(value = "提前预定时间 小时")
    private String advanceBookingTime;

    @ApiModelProperty(value = "渠道是否可售卖 1是 0否")
    private Boolean isDistributionChannelCanSale;

    @ApiModelProperty(value = "渠道是否可显示1是 0否")
    private Boolean isDistributionChannelCanView;

    @ApiModelProperty(value = "玩乐时长")
    private String activityTimeSpanText;

    @ApiModelProperty(value = "押金")
    private Integer deposit;

    @ApiModelProperty(value = "押金单位")
    private String depositChargeUnit;

    @ApiModelProperty(value = "押金支付方式: 1. 现付, 2. 预付")
    private Boolean depositPayMode;

    @ApiModelProperty(value = "是否可多日期预订 1是 0否")
    private Boolean isMultiDateBooking;

    @ApiModelProperty(value = "最少可预订天数")
    private Integer minBookingDays;

    @ApiModelProperty(value = "最多可预订天数")
    private Integer maxBookingDays;

    @ApiModelProperty(value = "最小年龄限制")
    private Integer minAge;

    @ApiModelProperty(value = "最大年龄限制")
    private Integer maxAge;

    @ApiModelProperty(value = "市场价")
    private Integer marketPrice;

    @ApiModelProperty(value = "分销卖价")
    private Integer price;

    @ApiModelProperty(value = "携程卖价")
    private Integer ctripPrice;

    @ApiModelProperty(value = "附加信息")
    private String optionInfo;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;


}
